move showOutput into compute remote
authorJoey Hess <joeyh@joeyh.name>
Tue, 4 Mar 2025 14:02:33 +0000 (10:02 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 4 Mar 2025 14:02:33 +0000 (10:02 -0400)
Command/AddComputed.hs
Remote/Compute.hs

index b0127b10ba4821a270e449b8c87536fd4a11114f..f54f2de802a603e3186bf2916a63b90a0b1334c0 100644 (file)
@@ -97,7 +97,6 @@ perform o r = do
                , Remote.Compute.computeReproducible = False
                }
        fast <- Annex.getRead Annex.fast
-       showOutput
        Remote.Compute.runComputeProgram program state
                (Remote.Compute.ImmutableState False)
                (getInputContent fast)
index 2903f926b2c3911e7e93d536ab9f0e0bc73199f2..60b2e301858213960e83778c8e52b966f5a41c51 100644 (file)
@@ -374,6 +374,7 @@ runComputeProgram (ComputeProgram program) state (ImmutableState immutablestate)
                         , std_out = CreatePipe
                         , env = Just environ
                         }
+               showOutput
                starttime <- liftIO currentMonotonicTimestamp
                state' <- bracket
                        (liftIO $ createProcess pr)